package cn.iocoder.yudao.module.jikong.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Jikong 错误码枚举类
 *
 * jikong 系统，使用 1-001-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== JIKONG 模块 1-001-000-000 ==========
    ErrorCode USER_NOT_EXISTS = new ErrorCode(1001000000, "用户不存在");
    ErrorCode ADDRESS_NOT_EXISTS = new ErrorCode(1001000001, "地址不存在");
    ErrorCode JK_AREA_NOT_EXISTS = new ErrorCode(1001000002, "区域不存在");
    ErrorCode BACKUP_NOT_EXISTS = new ErrorCode(1001000003, "备份不存在");
    ErrorCode JK_ORDER_NOT_EXISTS = new ErrorCode(1001000004, "单据不存在");
    ErrorCode JK_PRODUCT_NOT_EXISTS = new ErrorCode(1001000005, "产品不存在");
    ErrorCode JK_PRODUCT_TYPE_NOT_EXISTS = new ErrorCode(1001000006, "产品类型不存在");
    ErrorCode JK_PROJECT_NOT_EXISTS = new ErrorCode(1001000007, "项目不存在");
    ErrorCode JK_SIZE_NOT_EXISTS = new ErrorCode(1001000008, "规格不存在");
    ErrorCode JK_RESOURCE_NOT_EXISTS = new ErrorCode(1001000009, "样本来源不存在");
    // 数据库备份相关错误码
    ErrorCode BACKUP_RESTORE_FAIL = new ErrorCode(1001000010, "数据库恢复失败");
    ErrorCode BACKUP_RESTORE_FAIL_STATUS_ERROR = new ErrorCode(1001000011, "备份状态不正确，无法恢复");
    ErrorCode JK_UNIT_NOT_EXISTS = new ErrorCode(10000, "样本工具管理不存在");
}
